package org.seven.jrdp.biz.sys.mapper;

import java.util.List;

import org.seven.jrdp.biz.sys.model.SysRole;
import org.seven.jrdp.commons.model.TreeNode;

import tk.mybatis.mapper.common.Mapper;

public interface SysRoleMapper extends Mapper<SysRole> {
	List<TreeNode> findTree();

	List<TreeNode> findTreeByUserId(String userId);

	List<TreeNode> findResTreeById(String id);

	List<TreeNode> findRoleTreeById(String id);
}